package com.whut.userservice.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.time.Duration;

@Data
@Component
public class JwtProperties {
    @Value("${cl.jwt.tokenTTL}")
    private Duration tokenTTL = Duration.ofMinutes(10);
    @Value("${cl.jwt.secret}")
    private String secret;
}
